<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">&times;</button>
    <p class="modal-title panel-title-size">用户详情</p>
</div>
<div class="modal-body panel-body">
    <form class="form-horizontal form-validation" name="detailUserForm">
        <div class="form-group">
            <div class="col-lg-12">
                <label class="col-lg-2 control-label">用户名：</label>
                <div class="col-lg-10 control-input">
                    <input type="text" name="username" class="form-control" ng-readonly="true" ng-model="detailData.userName" >
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-lg-12">
                <label class="col-lg-2 control-label">邮箱：</label>
                <div class="col-lg-10 control-input">
                    <input type="text" name="email" class="form-control" ng-readonly="true" ng-model="detailData.userMail">
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-lg-12">
                <label class="col-lg-2 control-label">电话：</label>
                <div class="col-lg-10 control-input">
                    <input type="text" name="phone" class="form-control" ng-readonly="true" ng-model="detailData.userPhone" >
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-lg-12">
                <label class="col-lg-2 control-label">公司：</label>
                <div class="col-lg-10 control-input">
                    <input type="text" name="company" class="form-control" ng-readonly="true" ng-model="detailData.userCompany"  >
                </div>
            </div>
        </div>
         <div class="form-group">
            <div class="col-lg-12">
                <label class="col-lg-2 control-label">角色：</label>
                <div class="col-lg-10 control-input">
                    <input type="text" name="company" class="form-control" ng-readonly="true" ng-model="detailData.roleName">
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-lg-12">
                <label class="col-lg-2 control-label">环境：</label>
                <div class="col-lg-10 control-input">
                    <input type="text" name="company" class="form-control" ng-readonly="true" ng-model="detailData.envName" >
                </div>
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" validation-submit="detailUserForm" ng-disabled="updateUserForm.$invalid" ng-click="ok()">确认</button>
   <!--  <button class="btn btn-default" ng-click="cancel()">取消</button> -->
</div>